import java.math.BigDecimal;

public class eee {
    public static void main(String[] args) {
        System.out.println(Integer.MAX_VALUE+1);
        double a = 1;
        for (int i = 0; i < 1023; i++) {
            a*=2;
        }
        BigDecimal a2 = new BigDecimal(a);
        BigDecimal a3 = a2.multiply(new BigDecimal(2)).subtract(new BigDecimal(1));
        System.out.println(a3);
        System.out.println(a);
        System.out.println(Double.MAX_VALUE);
        System.out.println();
    }
}
